package quotation.web.quotationSys.ddd.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author lyx
 * @date 2025/2/25
 */
@Data
public class AddQuotationSysForm {

    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "简称")
    @NotBlank(message = "简称不能为空")
    private String abbreviation;

    @ApiModelProperty(value = "英文名称")
    @NotBlank(message = "英文名称不能为空")
    private String nameEn;

    @ApiModelProperty(value = "英文简称")
    @NotBlank(message = "英文简称不能为空")
    private String abbreviationEn;

    @ApiModelProperty(value = "标准号")
    @NotBlank(message = "标准号不能为空")
    private String standardNumber;

    @ApiModelProperty(value = "是否为顶层")
    private Integer isTop = 1;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

}
